package com.xoa.controller.budget;


import com.xoa.service.budget.BudgetProcessLogService;
import com.xoa.util.common.wrapper.BaseWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by gaosubo on 2018/11/19.
 */
@Controller
@RequestMapping("/budgetProLog")
public class BudgetProcessLogController {

    @Autowired
    BudgetProcessLogService budgetProcessLogService;

    @ResponseBody
    @RequestMapping("/saveLog")
    public BaseWrapper saveLog(HttpServletRequest request, Integer runId) {
        return budgetProcessLogService.queryBudgetProcessLog(runId);
    }
}
